package com.weixing.mall.base.enums;

/**
 * 系统配置开关
 *
 * @author siashan
 * @since  v1.0
 */
public enum  SysCfgCodeEnum {
    MEMBER_BIND_AGENT("member_bind_agent","会员绑定代理商"),
    ORDER_BIND_AGENT("order_agent","订单绑定代理商"),
    BUYER_SHOW_CFG("my_show","是否开启买家秀功能"),
    AGENT_ORDER_CLAIM("Order_Claim","代理商订单认领功能开关"),
    AGENT_WITHDROW_CFG("reflect","代理商提现功能开关"),
    MSG_SEND_HOUR_LIMIT("msg_send_limit","一小时同一手机号短信发送频率限制"),
    MSG_SEND_IP_LIMIT("msg_send_ip_limit","一小时同一手机号短信发送频率限制"),
    AGENT_REBATE_WITHDROW("agent_rebate_withdrow","代理商返利可提现时间"),
    AGENT_EXPIRE_ALERT("agent_expire_alert","代理商到期提醒时间"),
    SHARE("share","是否允许正价商品分享链接"),
    ORDER_CANCEL("order_cancel","客户或代理前端取消订单功能"),
    MEM_POINT("mem_point","积分是否开启开关"),
    AGENT_MOBILE_HIDE("agent_mobile_hide","代理手机号是否隐藏开关"),
    ;
    private String code;
    private String desp;


    SysCfgCodeEnum(String code, String desp) {
        this.code = code;
        this.desp = desp;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesp() {
        return desp;
    }

    public void setDesp(String desp) {
        this.desp = desp;
    }
}
